package kotlindemo.com.project.api

import android.database.Observable
import kotlindemo.com.project.bean.CalentarDayBean
import kotlindemo.com.project.bean.CalentarDayData
import kotlindemo.com.project.bean.CalentarDayResult
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Created by ChenLinWang
on 2018/10/27 0027.
 */
interface RetrofitService {
    /**
     * 获取当天的详细信息
     */
    @GET("calendar/day")
    fun calenderDay(
            @Query("date") date: String,
            @Query("key") key: String
    ): Observable<CalentarDayBean<CalentarDayResult<CalentarDayData>>>
}